import org.softmed.rest.generation.ScafoldFacade;

genApp = ScafoldFacade.getApp(application);
uriBuilder = genApp.getUriBuilder();